package org.dromara.system.service;

import org.dromara.system.domain.WbDemandList;
import org.dromara.system.domain.vo.WbDemandListVo;
import org.dromara.system.domain.bo.WbDemandListBo;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 需求一览Service接口
 *
 * @author Lion Li
 * @date 2024-04-26
 */
public interface IWbDemandListService {

    /**
     * 生成投标信息
     */
    List<WbDemandListVo> queryGroupById(String ItemID);

    /**
     * 查询需求一览
     */
    WbDemandListVo queryById(Long id);

    /**
     * 查询需求一览列表
     */
    TableDataInfo<WbDemandListVo> queryPageList(WbDemandListBo bo, PageQuery pageQuery);

    /**
     * 查询需求一览列表
     */
    List<WbDemandListVo> queryList(WbDemandListBo bo);

    /**
     * 新增需求一览
     */
    Boolean insertByBo(WbDemandListBo bo);

    /**
     * 修改需求一览
     */
    Boolean updateByBo(WbDemandListBo bo);

    /**
     * 校验并批量删除需求一览信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    /**
     * 查询需求一览列表
     */
    List<WbDemandListVo> queryList1(WbDemandListBo bo);

    TableDataInfo<WbDemandListVo> queryCountPageList(Long id,String subStandardName, PageQuery pageQuery);
}
